home *** CD-ROM | disk | FTP | other *** search
-
- How to compile X11-programms using GCC
- ---------------------------------------------------------------------
-
- Some weeks ago I uploaded xv3.1 - later I got lots of questions how to
- compile X-stuff.
-
- Its' simple:
-
- -obtain X-includes from a workstation (include/X11)
-
- -obtain X11libs.lha from Aminet:
- copy all libs containing a X-character into your gcc/lib-drawer
- rename the file libc.a to libcX11.a and copy it into the same drawer
-
- -now browse through your makefile, search for lines like:
-
- LIBS = -lX11 $(JPEGLIB) $(TIFFLIB) -lm (this one is from xv)
-
- -replace the "-lX11" by "-lX11 -lnet -lcX11 -lamiga":
-
- LIBS = $(JPEGLIB) $(TIFFLIB) -lm -lX11 -lnet -lcX11 -lamiga
-
- -that's it
-
- NOTE: I think most of you deleted the libc.a from the archieve
- because the README-file says nothing about it.
- (I did so for the 1st time - and got the errror-messages).
-
- I will include libcX11.a in this archieve because I think most
- of you own the other libs and the includes.
-
- BTW: Is there a DaggeX featuring 256-colors without gfx-boards (AGA) ?
-
- ---------------------------------------------------------------------
-
- Andreas Maschke
- Zenkerstraße 5
- 06108 Halle/Saale
- Germany
-
- Phone: ++49 (0)345/5170331
- EMail: epgbc@cluster1.urz.Uni-Halle.DE
-
-
-